\section{User\-Identity Class Reference}
\label{class_user_identity}\index{User\-Identity@{User\-Identity}}
Inheritance diagram for User\-Identity\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_user_identity}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf authenticate} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\doxyref{User\-Identity}{p.}{class_user_identity} represents the data needed to identity a user. It contains the authentication method that checks if the provided data can identity the user. 

\subsection{Member Function Documentation}
\index{User\-Identity@{User\-Identity}!authenticate@{authenticate}}
\index{authenticate@{authenticate}!UserIdentity@{User\-Identity}}
\subsubsection[{authenticate}]{\setlength{\rightskip}{0pt plus 5cm}authenticate (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_user_identity_a750c93a7dfab5314f2bf662a407bc5a6}
Authenticates a user. The example implementation makes sure if the username and password are both 'demo'. In practical applications, this should be changed to authenticate against some persistent user identity storage (e.\-g. database). \begin{DoxyReturn}{Returns}
boolean whether authentication succeeds. 
\end{DoxyReturn}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
protected/components/User\-Identity.\-php\end{DoxyCompactItemize}
